package com.cloud.config.server;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableConfigServer
@RestController
public class ConfigServerApplication {
	/*@Value("${mysqldb.datasource.url}")
	String url = "aa";
	@ResponseBody
	@RequestMapping(value="/")
	public String init(){
		return url;
	}*/
	public static void main(String[] args) {
		
		//System.out.println(args[0]);
		SpringApplication.run(ConfigServerApplication.class, args);

	}

}
